package com.ktgj.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 旅游产品
 */
public class TravelProductDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 产品表主键 */
    private Long productId;

    /** 供应商表主键 */
    @Excel(name = "供应商表主键")
    private Long supplierId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 销售价格 */
    @Excel(name = "销售价格")
    private BigDecimal salePrice;

    /** 结算价格 */
    @Excel(name = "结算价格")
    private BigDecimal costPrice;

    /** 产品状态0未上架，1已上架 */
    @Excel(name = "产品状态0未上架，1已上架")
    private Long statusId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 维护人 */
    @Excel(name = "维护人")
    private Long employeeId;

    /** 旅游团id */
    @Excel(name = "旅游团id")
    private Long groupId;

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public Long getStatusId() {
        return statusId;
    }

    public void setStatusId(Long statusId) {
        this.statusId = statusId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public String toString() {
        return "TravelProductDto{" +
                "productId=" + productId +
                ", supplierId=" + supplierId +
                ", productName='" + productName + '\'' +
                ", salePrice=" + salePrice +
                ", costPrice=" + costPrice +
                ", statusId=" + statusId +
                ", createTime=" + createTime +
                ", employeeId=" + employeeId +
                '}';
    }
}
